package com.aco.party.web.command.system;

import com.aco.party.model.po.Company;
import org.springframework.beans.BeanUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by flying on 3/10/2016 0010.
 */
public class EditCompanyCommand extends Company {
    public void toCommand(Company po) {
        BeanUtils.copyProperties(po, this);
    }

    public void toPo(Company po) {
        BeanUtils.copyProperties(this, po);
    }
}
